Navigation & Layout DetailsURL copied
get_custom_css_links() discovers and loads custom CSS:
- Root CSS: Applies globally (
/posts/custom.css or /posts/style.css)
- Folder CSS: Automatically scoped to section via wrapper class (e.g.,
#main-content.section-demo-books-flat-land)
- Content wrapped in
<Style> tag with scoped selector to prevent cross-section leakage
- All CSS changes swapped via
#scoped-css-container for HTMX compatibility